﻿using MediatR;
using RedDragon.Common.Dtos;
using SqlSugar;
using T.Common.Domain.Common;

namespace RedDragon.ERP.API.Application.Commands.Purchases
{
    /// <summary>
    /// 根据采购/委外订单编号获取订单行信息
    /// </summary>
    public class SearchOrderBankCommand : IRequest<Result<PageResultDto<OrderBankDto>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 订单编码(外键 采购/委外)
        /// </summary>
        public string? PurchaseNumber { get; set; }
    }
}
